import info.clearthought.layout.TableLayout;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import javax.swing.BoxLayout;
import javax.swing.JButton;
import javax.swing.JRadioButton;
import javax.swing.JTextField;

import javax.swing.WindowConstants;
import javax.swing.SwingUtilities;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class pickx extends javax.swing.JFrame {
	private JRadioButton Wood1;
	private JButton AllDone;
	private JRadioButton Stone2;
	private JRadioButton Stone1;
	private JRadioButton Reed2;
	private JRadioButton Reed1;
	private JRadioButton Clay2;
	private JRadioButton Clay1;
	private JRadioButton Wood2;

	/**
	* Auto-generated main method to display this JFrame
	*/
	
	public pickx(int x) {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			this.setTitle("Pick");
			TableLayout thisLayout = new TableLayout(new double[][] {{TableLayout.FILL, TableLayout.FILL, TableLayout.FILL, TableLayout.FILL}, {TableLayout.FILL, TableLayout.FILL, TableLayout.FILL, TableLayout.FILL}});
			thisLayout.setHGap(5);
			thisLayout.setVGap(5);
			getContentPane().setLayout(thisLayout);
			this.setResizable(false);
			{
				Reed2 = new JRadioButton();
				BoxLayout Reed2Layout = new BoxLayout(Reed2, javax.swing.BoxLayout.Y_AXIS);
				Reed2.setLayout(Reed2Layout);
				getContentPane().add(Reed2, "1, 2");
				Reed2.setText("Reed");
				Reed2.setPreferredSize(new java.awt.Dimension(48, 30));
			}
			{
				Reed1 = new JRadioButton();
				getContentPane().add(Reed1, "1, 1");
				Reed1.setText("Reed");
			}
			{
				Clay1 = new JRadioButton();
				getContentPane().add(Clay1, "2, 1");
				GridLayout Clay1Layout = new GridLayout(1, 1);
				Clay1Layout.setColumns(1);
				Clay1Layout.setHgap(5);
				Clay1Layout.setVgap(5);
				Clay1.setLayout(null);
				Clay1.setText("Clay");
			}
			{
				Clay2 = new JRadioButton();
				getContentPane().add(Clay2, "2, 2");
				BoxLayout Clay2Layout = new BoxLayout(Clay2, javax.swing.BoxLayout.Y_AXIS);
				Clay2.setLayout(Clay2Layout);
				Clay2.setText("Clay");
				Clay2.setPreferredSize(new java.awt.Dimension(42, 23));
			}
			{
				AllDone = new JButton();
				getContentPane().add(AllDone, "2, 3, 3, 3");
				AllDone.setText("All Done");
			}
			{
				Stone1 = new JRadioButton();
				getContentPane().add(Stone1, "3, 2");
				Stone1.setText("Stone");
			}
			{
				Stone2 = new JRadioButton();
				getContentPane().add(Stone2, "3, 1");
				Stone2.setText("Stone");
			}
			{
				Wood1 = new JRadioButton();
				getContentPane().add(Wood1, "0, 1");
				GridLayout Wood1Layout = new GridLayout(1, 1);
				Wood1Layout.setColumns(1);
				Wood1Layout.setHgap(5);
				Wood1Layout.setVgap(5);
				Wood1.setLayout(Wood1Layout);
				Wood1.setText("Wood");
			}
			{
				Wood2 = new JRadioButton();
				getContentPane().add(Wood2, "0, 2");
				BoxLayout Wood2Layout = new BoxLayout(Wood2, javax.swing.BoxLayout.Y_AXIS);
				Wood2.setLayout(Wood2Layout);
				Wood2.setText("Wood");
				Wood2.setPreferredSize(new java.awt.Dimension(400, 19));
			}
			pack();
			this.setSize(244, 196);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	


}
